<template>
  <view class="index">
    <text class="font-36">详情</text>
      <button type="primary" @tap="back">跳转到详情</button>
  </view>
</template>

<script>
import './index.scss'
import {router} from '@/u'
export default {
  data() {
    return {
    }
  },
    mounted() {
        console.log(this.$router.query)
        console.log(this.$router.path)
        console.log(this.$router.fullPath)
    },
    methods: {
        back(){
            router.goBack();
            // this.$router.goBack({path: "/pages/Square/index"});
        }
  }
}
</script>
